package cn.luzhangduo.studentsystemproject.mapper;

import cn.luzhangduo.studentsystemproject.model.Agent;
import cn.luzhangduo.studentsystemproject.model.ChartItem;

import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AgentMapper {
    public boolean add(Agent agent);
    public boolean delete(int id);
    public boolean update(Agent agent);
    public Agent get(int id);
    public List<Agent> getAll( );

    public List<ChartItem> getAgentDatas();
}
